package org.vshe.improve.spring.prospring3.ch6;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class MessageDecorator implements MethodInterceptor {

	public Object invoke(MethodInvocation invocation) throws Throwable {
		
		System.out.println("!!!");
		Object result = invocation.proceed();
		System.out.println("!!!");
		
		return result;
	}

}
